package cn.lyq.card.ui.wallet

import cn.lyq.card.R
import cn.lyq.card.data.model.BillTypeInfo
import cn.lyq.card.data.model.CashRecordInfo
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder


class CashRecordAdapter : BaseQuickAdapter<CashRecordInfo, BaseViewHolder>
    (R.layout.item_cash_record, mutableListOf()), LoadMoreModule {

    override fun convert(holder: BaseViewHolder, item: CashRecordInfo) {
        holder.setText(R.id.tvValue, item.price)
        holder.setText(R.id.tvStatus, item.stateName)
        holder.setText(R.id.tvTime, item.addTime)
    }
}